#pragma once

#include <Windows.h>
#include <string>
#include "omsclientbase.h"

class OMSClientConcrete :
    public OMSClientBase
{
public:
    OMSClientConcrete(void);
    ~OMSClientConcrete(void);
//OMSClientBase interface
public:
    LRESULT GetServiceInfo(const std::wstring& serviceUrl , std::wstring& serviceInfo);
    LRESULT GetUserInfo(const std::wstring& serviceUrl , const std::wstring& requestData , std::wstring& userInfo);
    LRESULT SendSMS(const std::wstring& serviceUrl , const std::wstring& smsData , std::wstring& responseData);
    LRESULT GetContacts(const std::wstring& serviceUrl ,const std::wstring& userKey , const std::wstring& pwd , std::wstring& responseData);
	LRESULT SetReminder(const std::wstring& serviceUrl ,const std::wstring& owner , const std::wstring& mobile , const std::wstring& reminderData , std::wstring& responseData);
private:
	std::string GetAnsiUrl(const std::wstring& serviceUrl);
};

